package com.zzzzzz.core.data.filestore;

import com.mongodb.gridfs.GridFSDBFile;

public interface FileStorage {

	String absoluteUrl(String fileId);

	String storeFile(FileData fileData);

	String storeFile(SimpleFileData fileData);

	GridFSDBFile getFileById(String id);

	GridFSDBFile getFileByFileName(String fileName);

	void deleteFileById(String id);

	void deleteFileByFileName(String fileName);
	
}
